package commands;

import java.util.List;
import java.util.Arrays;
import util.*;
import main.*;

public class Command {
	public static String name = "";
	public static String help = "The basic command. Cannot be executed";
	
	@SuppressWarnings("unchecked")
	public static final List<Class<? extends Command>> commands = Arrays.asList(ClearCommand.class, CloseCommand.class, ConnectCommand.class, 
																				DefineCommand.class, GetCommand.class, MessageCommand.class, 
																				ListCommand.class, FreeCommand.class, HelpCommand.class,
																				OpenPortCommand.class, ReadCommand.class);
	
	//Override in other commands
	public static boolean test(InputHandler handler, StringList words){
		return true;
	}

}
